import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBColor/YBColor.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBImageStyle/YBImageStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBTextStyle/YBTextStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBUtils/YBBaseUtils/YBCallPhoneUtils.dart';


class YBWenShuMainListSubPage extends StatelessWidget {

  final String imageStr;
  final String titleStr;

  const YBWenShuMainListSubPage({Key key, this.imageStr, this.titleStr}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
       child: Column(
         mainAxisAlignment: MainAxisAlignment.center,
         crossAxisAlignment: CrossAxisAlignment.center,
         children: [
           Container(
             width: YBTextStyle.adapterSize64,
             height: YBTextStyle.adapterSize64,
             child: SvgPicture.asset(YBImageStyle.getwenShuSVGPath(imageStr)),
           ),
           Container(
             height: YBTextStyle.adapterSize12,
           ),
           Container(
             child:Text(
               titleStr,
               style: YBTextStyle.TextStyle30313316Medium,
             ),
           ),
         ],
       ),
    );
  }
}
